import { Page } from "./componet/Page/Page";
import { remote } from "electron";

let reactComponent = new Page();
let appDiv = document.getElementById("app") as HTMLElement;
reactComponent.install(appDiv);

window.addEventListener('keyup', (keyEvt) => {
    if (keyEvt.keyCode === 123) {
        remote.getCurrentWebContents().toggleDevTools();
    }
});